<?php

include_once $_SERVER['DOCUMENT_ROOT'].'HelmesWorkTest/backend/database/ConnectionManager.php';
include_once $_SERVER['DOCUMENT_ROOT'].'HelmesWorkTest/backend/model/dao/mysqlimplementation/SectorDAOMySQLImpl.php';
include_once $_SERVER['DOCUMENT_ROOT'].'HelmesWorkTest/GeneralConstants.php';

/**
 * Description of TESTDAOs
 *
 * @author Reinowin7
 */
class TESTDAOs 
{
    function main()
    {
        $connectionManager = ConnectionManager::getInstance();
        $dbConnection = $connectionManager->getConnection();
        
        $sectorDAO = new SectorDAOMySQLImpl($dbConnection);
        print_r($sectorDAO->getAllSectors());
        
    }
}

$testDAOs = new TESTDAOs();
$testDAOs->main();

?>
